package com.lianjinsu.shop.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Getter;
import lombok.Setter;
import org.apache.ibatis.type.Alias;

@Getter
@Setter
@TableName("rank")
@Alias("Rank")
public class Rank extends Model<Rank> {
    private static final long serialVersionUID = -2308724251685920568L;

    @TableId
    private Integer id;

    private String name;

    @TableField("`desc`")
    private String desc;

    private Integer sort;
}
